﻿using FreeSql.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace RunUI
{
    public abstract class BaseTenantEntity : BaseEntity, ITenantEntity
    {
        /// <summary>
        /// 租户编号
        /// </summary>
        [Column(DbType = "varchar(50) NOT NULL")]
        [Description("租户编号")]
        [Required] 
        public string TenantId { get; set; }
    }
}